package com.etc.proxy.dynamic;

public class TestMain1 {
    public static void main(String[] args) {

        ITarget target = new Target();
        WangBaProxyUtil util = new WangBaProxyUtil();
        util.target = target;

        // 创建代理对象
        ITarget prox = util.newInstance();
        prox.maidianka();

        System.out.println(prox);





    }
}
